package javabook.ch05;

class StudentGrade{
		int point;
		String majer;
		String stname;
}
public class GradeEX {

	/**
	 * @param args
	 */
	public static void main(String[] args) {

		StudentGrade stu1 = new StudentGrade();
		stu1.majer = "math";
		stu1.point = 60;
		stu1.stname ="stila";
		
		StudentGrade stu2 = new StudentGrade();
		stu2.majer = "korealang";
		stu2.point = 100;
		stu2.stname ="kim";
		
		StudentGrade stu3 = new StudentGrade();
		stu3.majer = "scinece";
		stu3.point = 87;
		stu3.stname ="jeck";
		
		
		System.out.println (stu1.stname + "'s majer  : " 
				+ stu1.majer 
				+ " point : " + stu1.point );
		
		System.out.println (stu2.stname + "'s majer  : " 
				+ stu2.majer 
				+ " point : " + stu2.point );
		
		System.out.println (stu3.stname + "'s majer  : " 
				+ stu3.majer 
				+ " point : " + stu3.point );
		
		
	}

}
